from typing import Any

class VideoCapture:
    def __init__(self, filename: str) -> None: ...
    def isOpened(self) -> bool: ...
    def set(self, propId: int, value: float) -> bool: ...
    def get(self, propId: int) -> float: ...
    def read(self) -> tuple[bool, Any]: ...
    def release(self) -> None: ...

def resize(src: Any, dsize: tuple[int, int]) -> Any: ...
def cvtColor(src: Any, code: int) -> Any: ...

CAP_PROP_POS_FRAMES: int
CAP_PROP_FRAME_WIDTH: int
CAP_PROP_FRAME_HEIGHT: int
CAP_PROP_FPS: int
CAP_PROP_FRAME_COUNT: int
COLOR_BGR2RGB: int
